package com.onedec.designer.mapper;

import com.onedec.designer.entity.OnedecContract;
import com.onedec.designer.entity.OnedecContractExample;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface OnedecContractMapper {
    long countByExample(OnedecContractExample example);

    int deleteByExample(OnedecContractExample example);

    int deleteByPrimaryKey(Integer contractId);

    int insert(OnedecContract record);

    int insertSelective(OnedecContract record);

    List<OnedecContract> selectByExample(OnedecContractExample example);

    OnedecContract selectByPrimaryKey(Integer contractId);

    int updateByExampleSelective(@Param("record") OnedecContract record, @Param("example") OnedecContractExample example);

    int updateByExample(@Param("record") OnedecContract record, @Param("example") OnedecContractExample example);

    int updateByPrimaryKeySelective(OnedecContract record);

    int updateByPrimaryKey(OnedecContract record);

    List<Map<String, Object>> selectByMap(Map<String, Object> map);
}